<?php namespace App\Domain\ErrBookLog\Service;


use App\Domain\ErrBookLog\Model\ErrBookLog;

class ErrBookLogServiceImpl implements ErrBookLogService
{
    public function createErrBookLog($bookUid,$doorid,$readerid,$status,$remark){
        return ErrBookLog::create([
            'BookUID'=>$bookUid,
            'ReaderID'=>$readerid,
            'UseDate'=>time(),
            'DoorID'=>$doorid,
            'InMacState'=>$status,
            'Remark'=>$remark
        ]);
    }

}